<?php

/*
 * Copyright (C) 2014 University of Pittsburgh
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

require_once('HTMLSelect.inc');

class JurisdictionSelect extends HTMLSelect {
  
  public function __construct() {
    parent::__construct();

    $this->key_val_map = self::$jurisdiction_code_map;
  }
  
  private static $jurisdiction_code_map = array(
    -1 => '--- ALL ---',
    2 => 'Alaska',
    5 => 'California',
    9 => 'Florida',
    16 => 'Kansas',
    20 => 'Maryland',
    34 => 'North Dakota',
    32 => 'New York',
    35 => 'Ohio',
    38 => 'Pennsylvania',
    39 => 'Rhode Island',
    43 => 'Texas',
    49 => 'Wisconsin',
    52 => 'Federal'
  );
  
}